set term pdfcairo lw 2 font "Arial,18"
set output "../fixtp-tp.pdf"

set xlabel "OLAP Thread Numbers, logscale" font "Arial,20"
set ylabel "Throughput [Million txn/s]" font "Arial,20"
set xtics ("1" 1,"2" 2,"4" 4,"8" 8,"16" 16,"32" 32)
set logscale x
# set key center at 300000,7500
# unset key
set key center left top

set grid lw 2
set key maxcols 1
set key maxrows 5
set key samplen 3
plot [1:32][] \
"fixtp-tp.txt" using 1:($2/1000000.0) title "TICTOC" with linespoints linecolor 7 linewidth 2 pointtype 13 pointsize 1.5,\
"fixtp-tp.txt" using 1:($3/1000000.0) title "SILO" with linespoints linecolor 8 linewidth 2 pointtype 14 pointsize 1.5,\
"fixtp-tp.txt" using 1:($4/1000000.0) title "HEKATON" with linespoints linecolor 9 linewidth 2 pointtype 7 pointsize 1.2,\
"fixtp-tp.txt" using 1:($5/1000000.0) title "MVCC" with linespoints linecolor 10 linewidth 2 pointtype 16 pointsize 1.5,\
"fixtp-tp.txt" using 1:($6/1000000.0) title "WHTAP" with linespoints linecolor 11 linewidth 2 pointtype 17 pointsize 1.5